Skip to main content

mediaFoundationVideoProcessorSetOutputMediaType

Type

command

Summary

Set the current output media type Platform:desktop

Syntax

mediaFoundationVideoProcessorSetOutputMediaType <pVideoProcessorID>, <pMediaTypeID>

Description

To setup the pipeline for transcoding we must find an a reader output media type that is supported by the video processor as an input media type and a writer input media type that is supported by the video processor as an output media type.

*Note

*:See the mediaFoundationTranscode documentation for a complete example of using this handler.

Parameters

NameTypeDescription

pVideoProcessorID

integer

A video processor ID

pMediaTypeID

integer

A media type ID

Value

NameTypeDescription

the result

boolean

True if the video processor supports the output media type for the current input media type

command: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor

Compatibility and Support

OS

windows

Thank you for your feedback!

Was this page helpful?